export function getRedirectPath(type, header) {
    let path = ''
    path += type === 'user' ? '/user' : '/admin'
    if (!header) {
        path += 'info'
    }
    return path
}